The base class of any Diamant ORM DAO that manages entity persistence operations against a relational data store.

The following tables list the members exposed by the DiamantDao<TEntity, TDataContext, TDataCommand, TDataReader> type.

Name Description
Public property Carbonite Gets the carbonite controller that hosts the current DAO and offers data store context to it. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected property Entities Routes an entity read request to the underlying relational data store, so that all TEntity entities are obtained.
Top
Name Description
Public method Add (Overloaded) Routes an entity creation request to the underlying data store. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method Count (Overloaded) Routes an entity count request to the underlying data store, so that all TEntity entities are counted. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method Equals (Overloaded) Determines whether the specified object is equal to the current object. (inherited from Object).
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (inherited from Object).
Public method Get (Overloaded) Routes an entity read request to the underlying data store, so that all TEntity entities are obtained. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method GetFirst (Overloaded) Routes an entity read request to the underlying data store, so that the first TEntity is obtained. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method GetHashCode Serves as the default hash function. (inherited from Object).
Public method GetType (Overloaded) Gets the Type of the current instance. (inherited from Object).
Public method Initialize Initializes the current DAO with the specified host carbonite controller as its data store context provider. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method MemberwiseClone Creates a shallow copy of the current Object. (inherited from Object).
Protected method OnAdd (Overloaded) By obtaining for each entity a data command via OnConfigureInsertCommand(TDataCommand,TEntity) and then running that command, this inversion control method handles the request to create a set of entities into the underlying relational data store.
Protected method OnAreEqual By comparing the identities of two entities, this inversion control method handles the request to determine if those are equal.

The identity of each entity is obtained by reading a property named "Id", if present. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method OnBuildSelectedEntity Handles the request to create a TEntity based on the selected data row.
Protected method OnConfigureCountCommand (Overloaded) Handles the request to configure a count data command suitable for the underlying relational data store.
Protected method OnConfigureDeleteCommand (Overloaded) Handles the request to configure a delete data command suitable for the underlying relational data store.
Protected method OnConfigureInsertCommand Handles the request to configure an insert data command suitable for the underlying relational data store.
Protected method OnConfigureSelectCommand (Overloaded) Handles the request to configure a select data command suitable for the underlying relational data store.
Protected method OnConfigureUpdateCommand Handles the request to configure an update data command suitable for the underlying relational data store.
Protected method OnCount (Overloaded) By obtaining a data command via OnConfigureCountCommand(TDataCommand) and then running that command, this inversion control method handles the request to count all TEntity entities in the underlying relational data store.
Protected method OnGet (Overloaded) By obtaining a data command via OnConfigureSelectCommand(TDataCommand) and then running that command, this inversion control method handles the request to obtain all TEntity entities from the underlying relational data store.
Protected method OnGetFirst (Overloaded) By calling the Get method to retrieve all TEntity entities and then picking the first of them, this inversion control method handles the request to obtain the first from the underlying data store. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method OnInitialize Handles the request to initialize the current DAO. (inherited from BaseDao<TDataContext, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method OnPostconfigureCommand Handles the request to postconfigure a data command suitable for the underlying relational data store.

This method is always called after every OnConfigureXxxCommand.
Protected method OnPreconfigureCommand Handles the request to preconfigure a data command suitable for the underlying relational data store.

This method is always called before any OnConfigureXxxCommand.
Protected method OnRemove (Overloaded) By obtaining for each entity a data command via OnConfigureDeleteCommand(TDataCommand,TEntity) and then running that command, this inversion control method handles the request to delete a set of entities from the underlying relational data store.
Protected method OnRemoveAll By obtaining a data command via OnConfigureDeleteCommand(TDataCommand) and then running that command, this inversion control method handles the request to delete all entities from the underlying relational data store.
Protected method OnSynchronize (Overloaded) By calling OnSynchronize(IEnumerable<TEntity>) over a single entity, this inversion control method handles the request to synchronize an entity, so that the create or update operations are accordingly performed into the underlying data source. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Protected method OnUpdate (Overloaded) By obtaining for each entity a data command via OnConfigureUpdateCommand(TDataCommand,TEntity) and then running that command, this inversion control method handles the request to update a set of entities into the underlying relational data store.
Public method Static ReferenceEquals Determines whether the specified Object instances are the same instance. (inherited from Object).
Public method Remove (Overloaded) Routes an entity deletion request to the underlying data store. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method RemoveAll Routes a delete all entities request to the underlying data store. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method Synchronize (Overloaded) Routes an entity synchronization request to the underlying data store, so that the create or update operations are accordingly performed. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Public method ToString Returns a string that represents the current object. (inherited from Object).
Public method Update (Overloaded) Routes an entity update request to the underlying data store. (inherited from Dao<TEntity, TEntityCollection, TDataContext, TFilteringCriteria, TOrderingCriteria, TPagingCriteria, TCarboniteController, TTransaction, TTransactionCreationParameters>).
Top
Name Description
Public extension method FromNullable Converts object values to nullable relational data store values. (Defined by Object_ToNullable).
Public extension method GetAttribute Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttribute<TAtribute> (Overloaded) Obtains the first attribute that decorates an object class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method GetAttributes<TAtribute> (Overloaded) Obtains the attributes that decorates a class. (Defined by Attribute_GetAttributes).
Public extension method ToNullable<T> Converts nullable relational data store values to Nullable<T>. (Defined by Object_ToNullable).
Top